package com.example.springsecurity.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

/**
 * @ClassName Class
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-09-24 11:02
 **/
@Data
@Alias("tbClass")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class TbClass {

    /**
     * 班级id
     */
    private Long tbClassId;

    /**
     * 班级名称
     */
    private String tbClassName;

    /**
     * 对应专业id
     */
    private Integer majorId;

    /**
     * 所属学院
     */
    private String collegeName;

    /**
     * 所属专业
     */
    private String majorName;
}
